package com.authsphere.plugin.decrypt;

/**
 * @program: AuthSphere
 * @description:
 * @author: YuKai Fan
 * @create: 2025/3/13 15:10
 **/
public interface RequestBodyDecoder {

    /**
     * 请求体解码器
     * @param encryptedData
     * @return
     */
    String decrypt(String encryptedData);

    default String decrypt(String encryptedData, String secretKey) {
        return encryptedData;
    }
}
